/* stylelint-disable at-rule-no-unknown,at-rule-empty-line-before */
@import "../../../style/default";

$tree-default-open-icon: "\e606";
$tree-showline-open-icon: "\e621";
$tree-showline-close-icon: "\e645";
$tree-doc-icon: "\e664";

$tree-prefix-cls: #{$style-prefix}-tree;
$tree-select-prefix-cls: #{$style-prefix}-select;

@mixin apesTreeSwitcherIcon($type: $tree-default-open-icon) {
  .#{tree-prefix-cls}-switcher-icon,
  .#{tree-select-prefix-cls}-switcher-icon {
    @include iconfont-size-under-12px(10px);

    display: inline-block;
    font-weight: bold;

    svg {
      transition: transform 0.3s;
    }
  }
}

@mixin apesTreeShowLineIcon($type) {
  .#{tree-prefix-cls}-switcher-icon,
  .#{tree-select-prefix-cls}-switcher-icon {
    display: inline-block;
    font-weight: normal;
    font-size: 12px;

    svg {
      transition: transform 0.3s;
    }
  }
}
